package xiang.clients;

import com.xiang.utils.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import xiang.clients.fallBack.InfoClientFallBackFactory;

/**
 * @author xiangtianlei
 * @date 2024/04/16
 */
@FeignClient(value = "info-service", fallbackFactory = InfoClientFallBackFactory.class)
public interface InfoClient {

    @GetMapping("/info/getInfo")
    AjaxResult getInfo();
}
